package tuik

import (
	"github.com/nsf/termbox-go"
)

type Attr uint16

//8位
const (
	ColorDefault Attr = iota
	ColorBlack
	ColorRed
	ColorGreen
	ColorYellow
	ColorBlue
	ColorPurple
	ColorCyan
	ColorWhite
)
const (
	StyleBold Attr = 1 << (iota + 9)
	StyleUnderline
	StyleReverse
)

func SetAttr(a Attr) termbox.Attribute {
	return termbox.Attribute(a)
}
